package com.hs.jhzd.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import com.hs.jhzd.entity.Task;
import org.springframework.data.jpa.repository.Query;

public interface TaskRepository extends JpaRepository<Task, String> {

    @Query(value="select RWBH from qt_zdrwxxb order by RWBH DESC limit  1",nativeQuery=true)
    String findZybh();

}
